package com.project.xsf.service.impl;

import com.project.xsf.entity.MProceduring;
import com.project.xsf.mapper.MProceduringMapper;
import com.project.xsf.service.MProceduringService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class MProceduringImpl implements MProceduringService {
    @Autowired
    private MProceduringMapper mProceduringMapper;

    @Override
    public int insertSelective(MProceduring record) {
        return mProceduringMapper.insertSelective(record);
    }

    @Override
    public MProceduring queryMProceduringByMProcedure(Integer mProcedurePId, String procedureId) {
        return mProceduringMapper.queryMProceduringByMProcedure(mProcedurePId,procedureId);
    }

    @Override
    public int updateByPrimaryKeySelective(MProceduring record) {
        return mProceduringMapper.updateByPrimaryKeySelective(record);
    }
}
